package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 用户消息对象 t_message
 * @date 2024-03-22
 */
@Data
@TableName("t_message")
public class Message extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 采购方id
     */
    private Long enterpriseId;

    /**
     * 供应商id
     */
    private Long supplierId;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 用户编号
     */
    private Long userId;

    /**
     * 是否已读
     */
    @TableField(value = "is_read")
    private Boolean read;


}
